package com.atguigu.staservice.feign;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName UCenterClient
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/6/24
 * @Version 1.0
 */
@Component
@FeignClient("service-ucenter")
public interface UCenterClient {
    @GetMapping("/educenter/member/countRegister/{day}")
    R countRegister(@PathVariable("day") String day);
}
